<include file="Public:header" />
<include file="Public:left" />
<style>
    td {
        text-align: center;
    }
</style>
<style type="text/css" src="__STATIC__/admin/css/style.css" ></style>
<section>
    <div class="page_title">
        <h2 class="fl">退款列表</h2>
    </div>
    <table class="table">
        <tr>
            <th>编号</th>
            <th>订单单号</th>
            <th>退款单号</th>
            <th>退款金额</th>
            <th>是否收到货</th>
            <th>创建时间</th>
            <th>状态</th>
            <th>操作</th>
        </tr>

        <volist name="list" id="vo" key="k">
        <tr>
            <td>{$k}</td>
            <td><a href="{:url('Order/det',array('id'=>$vo['order_id']))}">{$vo.order_sn}</a></td>
            <td>{$vo.refund_sn}</td>
            <td>{$vo.money}</td>
            <td>
                <switch name="vo.is_receive">
                    <case value="0">未收到货</case>
                    <case value="1">已收到货</case>
                </switch>
            </td>
            <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
            <td>
                <switch name="vo.status">
                    <case value="-1">不同意</case>
                    <case value="0">待审核</case>
                    <case value="1">同意</case>
                    <case value="2">已退款</case>
                </switch>
            </td>
            <td>
                <a href="{:url('Order/refund_det',array('id'=>$vo['refund_id']))}" class="inner_btn">查看</a>
            </td>
        </tr>
        </volist>
    </table>
    {$list->render()}
</section>

<!--tabStyle-->
<script>
    $(document).ready(function() {
        //tab
        $(".admin_tab li a").click(function() {
            var liindex = $(".admin_tab li a").index(this);
            $(this).addClass("active").parent().siblings().find("a").removeClass("active");
            $(".admin_tab_cont").eq(liindex).fadeIn(150).siblings(".admin_tab_cont").hide();
        });
    });
</script>

</div>
</section>
</body>

</html>